package utils

type FArray []string

func (f_arr *FArray) Write(p []byte) (n int, err error) {
	return 0, nil
}

func (a FArray) Search(value string) int {
	if len(a) == 0 {
		return -1
	}
	result := -1
	for index, v := range a {
		if v == value {
			result = index
			break
		}
	}
	return result
}
